package com.jiot.controller.version;

import com.jfinal.core.Controller;
import com.jfinal.kit.Ret;
import com.jiot.common.model.User;

import rpc_service.MotanDemoService;
import rpc_service.MotanDemoService2;
import rpc_service.MyRPC;

public class UpdateAappController extends Controller  {
	
	@MyRPC
	MotanDemoService ms;
	
	@MyRPC
	MotanDemoService2 ms2;
	
	// 发送手机验证码
	public void index(String name) {
		String str = ms.hello(name);
		String str2 = ms.hello12(name);
		
		String str3 = ms2.hello2(name);
		
		
		
		renderJson(Ret.ok("name", str).set("str2",str2).set("str3",str3));
	}
	
}
